
import {RouterModule} from "@angular/router";
import {projectRouts} from "./project.routes";
import {ProjectIndexComponent} from "./components/project-index-component";
import { NgModule } from '@angular/core';
import {ProjectIndexRankingComponent} from "./components/project-index-ranking.component";
import {ProjectFindService} from "./service/project.find.service";
import {ProjectRecommendComponent} from "./components/project-recommended-component";
import {ProjectAddComponent} from "./components/project-add-component";
import {CommonModule} from "@angular/common";
import { FormsModule }   from "@angular/forms";

import { BrowserModule } from '@angular/platform-browser';
import { ReactiveFormsModule } from '@angular/forms';
import {ProjectAddService} from "./service/project.add.service";
import {ProjectStepComponent} from "./components/project-step-components";
import {FileUploadModule} from "ng2-file-upload";
import {ProjectPutService} from "./service/project.put.service";
import {ProjectSetingsComponent} from "./components/project-settings-components";
import {CategoryModule} from "../category/category.module";
import {ProjectDeleteService} from "./service/project.delete.service";
import {MiNiPointComponent} from "./components/mini-point-component";
import {MyInfoInProjectComponent} from "./components/my-info-in-project-component";
import {CircleMenuComponent} from "./components/circle-menu-component";
import {FootMessageComponent} from "./components/foot-message";

@NgModule({
  imports:[
    BrowserModule,
    FormsModule,
    ReactiveFormsModule,
    CommonModule,
    FileUploadModule,
    CategoryModule,
    RouterModule.forChild(projectRouts)
  ],
  declarations:[
    ProjectIndexComponent,
    ProjectIndexRankingComponent,
    ProjectRecommendComponent,
    ProjectAddComponent,
    ProjectStepComponent,
    ProjectSetingsComponent,
    MiNiPointComponent,
    MyInfoInProjectComponent,
    CircleMenuComponent,
    FootMessageComponent
  ],
  providers: [
    ProjectFindService,
    ProjectAddService,
    ProjectPutService,
    ProjectDeleteService
  ],
  exports:[
    ProjectIndexComponent,
    ProjectIndexRankingComponent,
    ProjectRecommendComponent,
    ProjectAddComponent,
    ProjectSetingsComponent,
    MiNiPointComponent,
    MyInfoInProjectComponent,
    CircleMenuComponent,
    FootMessageComponent
    ]

})
export class ProjectModule{

}
